package br.com.salao.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="etapas_configuracao_estabelecimento")
public class EtapasConfiguracaoEstabelecimento implements Serializable {
	
	/**
	 *  Cadastro das etapas de configuracao necessarias
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)	
	private int id;
	private int numetapa;
	@Column(length=30)
	private String descricao;
	@Temporal(TemporalType.DATE)
	private Date created = new Date();
	
	
	
	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getNumetapa() {
		return numetapa;
	}
	
	public void setNumetapa(int numetapa) {
		this.numetapa = numetapa;
	}
	
	public String getDescricao() {
		return descricao;
	}
	
	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}
}
